package com.example.experiment2.adapterPattern;

public class TreeElectricAdapter implements ThreeElectricOutlet{
    TwoElectricOutlet twoElectricOutlet;

    public TreeElectricAdapter(TwoElectricOutlet twoElectricOutlet){
        this.twoElectricOutlet=twoElectricOutlet;
    }

    @Override
    public void connectElectricCurrent() {
        twoElectricOutlet.connectElectricCurrent();
    }

}
